package com.lafeng.journey.httputils;

import com.lafeng.journey.basisapp.App;
import com.lafeng.journey.bean.MovieEntity;

import rx.Subscriber;

/**
 * Created by zhiguo on 2016/7/11.
 * 这个类只要是设置下载返回的类      返回的结果在Subscriber
 */
public class HttpPost {

    HttpRetrofit httpRetrofit;

    public HttpPost (){
        httpRetrofit = App.getIntense().httpRetrofit;
    }

    public void getTest(Subscriber<MovieEntity> subscriber){
        httpRetrofit.httpSubscribe(httpRetrofit.getApiService().getTest(101110101),subscriber);
    }

}
